Skip to content

[earlgrey,dv] Remove bogus dbg device from TopEarlgrey#29617

Draft
rswarbrick wants to merge 2 commits intolowRISC:masterfrom
rswarbrick:no-bogus-dbg
Draft

[earlgrey,dv] Remove bogus dbg device from TopEarlgrey#29617
rswarbrick wants to merge 2 commits intolowRISC:masterfrom
rswarbrick:no-bogus-dbg

Conversation

@rswarbrick
Copy link
Copy Markdown
Contributor

This is in draft, because it builds on #29616 (the first commit in this PR)

This is analogous to the commit that removes a nonexistent dmi device from lc_ctrl, but it's a much simpler commit, because all the engineering work is in that one. The only manual change in this commit is deleting a line from top_earlgrey.hjson.

This was added for Darjeeling and it appears the engineers concerned
didn't think about the fact this would convince various bits of
tooling that the phantom interface exists for Earlgrey too.

The bulk of this commit is tidying up the logic in topgen's lib.py,
merge.py and top_uvm_reg.sv.tpl to allow the possibility that an
instance of a block doesn't connect up all the interfaces that the
block defines. To do this properly, it also fixes some incorrect type
annotations in the code (which seem to have been introduced when first
adding multiple address maps).

The Earlgrey-specific change is tiny: it's just remove the "dmi" line
in hw/top_earlgrey/data/top_earlgrey.hjson, together with the comment
that shows the author realises it didn't make much sense...

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
This is analogous to the commit that removes a nonexistent dmi device
from lc_ctrl, but it's a much simpler commit, because all the
engineering work is in that one. The only manual change in this commit
is deleting a line from top_earlgrey.hjson.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant